how to count occurence of letter in file in python